use async_std::task;

#[test]
fn test_task_builder(){
    let mut builder = task::Builder::new();
    builder = builder.name("my_builder".to_string());
    if let Ok(join_handler) = builder.spawn(async {

    }){
        let task = join_handler.task();
        println!("join_handler.id = {:?}", task.id());
        println!("join_handler.name = {:?}", task.name());
    }
}
